package com.mofang.ticketing.user.serve.project.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author LGC
 * @date 2022/5/13 17:17
 */
@Data
@ApiModel(value = "项目分页列表")
public class ProjectListPageRespDTO implements Serializable {

    private static final long serialVersionUID = -2587750286636653258L;

    @ApiModelProperty(value = "项目ID")
    private Long id;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目类型 1=商户类型，2=地区类型")
    private Integer projectType;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "项目成员数")
    private Integer projectUserAccount;

}
